package com.bbj.ch5_interface;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: jack_yang
 * @Date: 2024/4/29
 * @Description: addition and subtraction
 */
public class UsbFan implements Usb {
    @Override
    public void serviceForUsb2() {
        System.out.println("规范协议：" + Usb2.DEF + "设备接口usb2.0接口，风扇正常运行");

    }

    @Override
    public void serviceForUsb3() {
        System.out.println("规范协议：" + Usb3.DEF + "设备接口usb3.0接口，风扇正常运行");
    }
    public void serviceForUsb4() {
        System.out.println("规范协议：" + Usb4.DEF + "设备接口usb4.0接口，风扇正常运行");
    }
}
